package com.youkeyi.ddy.cloud.common.api.basic.storage.stock;


import com.youkeyi.ddy.cloud.common.api.basic.storage.stock.dto.StorageStockOptionLogListCloudDto;
import com.youkeyi.ddy.cloud.common.api.basic.storage.stock.param.StorageStockOptionLogCreateCloudParam;
import com.youkeyi.ddy.cloud.common.api.basic.storage.stock.param.StorageStockOptionLogDeleteCloudParam;
import com.youkeyi.ddy.cloud.common.api.basic.storage.stock.param.StorageStockOptionLogQueryCloudParam;
import com.youkeyi.ddy.cloud.common.api.basic.storage.stock.param.StorageStockOptionLogUpdateCloudParam;
import com.youkeyi.ddy.cloud.common.response.ResponseContent;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * StorageStockOptionLogCloudServiceFallback
 *
 * @Author liuxiawang
 * @Date 2024/2/21 2:27 PM
 * @Location shenzhen.china
 */
@Component
@RequestMapping("/storage/stock/option/log/fallback")
public class StorageStockOptionLogCloudServiceFallback implements StorageStockOptionLogCloudService {

    @Override
    public StorageStockOptionLogListCloudDto query(StorageStockOptionLogQueryCloudParam param) {
        return new StorageStockOptionLogListCloudDto(Boolean.FALSE, "服务不可用");
    }

    @Override
    public ResponseContent create(StorageStockOptionLogCreateCloudParam param) {
        return new ResponseContent(Boolean.FALSE, "服务不可用");
    }

    @Override
    public ResponseContent update(StorageStockOptionLogUpdateCloudParam param) {
        return new ResponseContent(Boolean.FALSE, "服务不可用");
    }

    @Override
    public ResponseContent delete(StorageStockOptionLogDeleteCloudParam param) {
        return new ResponseContent(Boolean.FALSE, "服务不可用");
    }
}
